<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
    <table>
        <tr>
            <th><form:label path="name"><fmt:message key="user.name"/></form:label></th>
            <td><form:input path="name"/></td>
            <td><form:errors path="name" cssClass="error"/></td>
        </tr>
        <tr>
            <th><form:label path="surname"><fmt:message key="user.surname"/></form:label></th>
            <td><form:input path="surname"/></td>
            <td><form:errors path="surname" cssClass="error"/></td>
        </tr>
        <tr>
            <th><form:label path="email"><fmt:message key="user.email"/></form:label></th>
           <td><form:input path="email"/></td>
            <td><form:errors path="email" cssClass="error"/></td>
        </tr>
        <tr>
            <th><form:label path="city"><fmt:message key="user.city"/></form:label></th>
            <td><form:input path="city"/></td>
            <td><form:errors path="city" cssClass="error"/></td>
        </tr>
        <tr>
            <th><form:label path="street"><fmt:message key="user.street"/></form:label></th>
            <td><form:input path="street"/></td>
            <td><form:errors path="street" cssClass="error"/></td>
        </tr>
         <tr>
            <th><form:label path="zip"><fmt:message key="user.zip"/></form:label></th>
            <td><form:input path="zip"/></td>
            <td><form:errors path="zip" cssClass="error"/></td>
        </tr>
         <tr>
            <th><form:label path="phone"><fmt:message key="user.phone"/></form:label></th>
            <td><form:input path="phone"/></td>
            <td><form:errors path="phone" cssClass="error"/></td>
        </tr>
        
    </table>
